package com.zhiyou.brank.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou.brank.mapper.FlyTeacher;
import com.zhiyou.brank.service.FlyTeacherService;
import com.zhiyou.model.FyTeacher;
import com.zhiyou.service.TeacherManageService;
@Service
public class FlyTeacherServiceImpl implements FlyTeacherService{
@Autowired
	FlyTeacher flyTeacher;
@Autowired
TeacherManageService teacherManageService;
	public FyTeacher brankOne(Integer teacher_id) {
		FyTeacher brankOne = flyTeacher.brankOne(teacher_id);
		FyTeacher brankTwo = flyTeacher.brankTwo(brankOne.getClass_id());
		brankOne.setClass_NoAttendance(brankTwo.getClass_NoAttendance());
		return brankOne;
	}	
}
